package com.qys.livesMall.anchor.model.entity;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 主播申请信息表(H2AnchorApply)表实体类
 *
 * @author makejava
 * @since 2023-06-16 09:46:14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("h2_anchor_apply")
@Schema(name = "H2AnchorApply", description = "主播申请")
public class H2AnchorApply implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "id")
    @TableId("id")
    private Long id;

    @Schema(description = "用户ID")
    @TableField("user_id")
    private Long userId;

    @Schema(description = "名")
    @TableField("first_name")
    private String firstName;

    @Schema(description = "姓")
    @TableField("last_name")
    private String lastName;

    @Schema(description = "主播头像")
    @TableField("avatar")
    private String avatar;

    @Schema(description = "证件类型（1护照，2身份证）")
    @TableField("document_type")
    private String documentType;

    @Schema(description = "护照首页")
    @TableField("passport_page")
    private String passportPage;

    @Schema(description = "身份证正面照片")
    @TableField("car_after")
    private String carAfter;

    @Schema(description = "身份证背面图片")
    @TableField("car_before")
    private String carBefore;

    @Schema(description = "手机号")
    @TableField("phone")
    private String phone;

    @Schema(description = "邮箱")
    @TableField("email")
    private String email;

    @Schema(description = "审批状态（0待审核，1待签约，2已完成，3未通过）")
    @TableField("status")
    private Integer status;

    @Schema(description = "合同")
    @TableField("contract")
    private String contract;

    @Schema(description = "签名")
    @TableField("signature")
    private String signature;

    @Schema(description = "创建人")
    @TableField("create_by")
    private String createBy;

    @Schema(description = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @Schema(description = "更新人")
    @TableField("update_by")
    private String updateBy;

    @Schema(description = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

}

